package org.scharlessantos.tempo.server.control;

import java.util.ArrayList;
import java.util.List;

/**
 * Controle central do servidor
 * @author silva.charlessantos
 *
 */
public class Control {

	public static Control instance;
	
	protected List<ClientDescriptor> clients = new ArrayList<ClientDescriptor>();
	
	public static Control getInstance(){
		if (instance==null)
			instance = new Control();
		
		return instance;
	}
	
	protected Control(){
		
	}
	
	public void removeClient(ClientDescriptor client){
		
	}
	
	public void addClient(ClientDescriptor client){
		clients.add(client);
	}
	
}
